package week3;
import java.util.Scanner;
public class pp3_2 {
    public static void main(String[] args) {
        int a,b,d;
        double c;
        Scanner scan = new Scanner(System.in);

        System.out.println("请输入两个整数");
        a = scan.nextInt();
        b = scan.nextInt();

        c = Math.pow(a,3) + Math.pow(b,3);
        System.out.println("立方和：" + c);

    }
}
